package cn.wolfcode.mp.service;

import cn.wolfcode.mp.domain.Permission;
import cn.wolfcode.mp.query.PermissionQuery;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface IPermissionService extends IService<Permission>{

    /**
     * 分页
     * @param qo
     * @return
     */
    IPage<Permission> queryPage(PermissionQuery qo);

    void reload();

    List<String> selectByEmpId(Long id);
}
